#pragma once
#include "Support.h"
USING_NS_CC;

class Player {
public:
	static Player* getInstance();
	void setLevel(int level);
	void setJewel(int jewel);
	void setGold(int Gold);
	void setHP(int HP);
	void setMP(int MP);
private:
	void initPlayer();
	CC_SYNTHESIZE_READONLY(int, m_level, Level);
	CC_SYNTHESIZE_READONLY(int, m_jewel, Jewel);
	CC_SYNTHESIZE_READONLY(int, m_gold, Gold);
	CC_SYNTHESIZE_READONLY(int, m_hp, HP);
	CC_SYNTHESIZE_READONLY(int, m_mp, MP);
};